<div class="sidebar {{ tog ? 'collapse' : ''}}">
    <h3 v-on:click="toggle"> <i class="icon-collapse"></i>
    </h3>
    <ul class="menu" v-if="navobj">
        <li :class="{ on: index == 'collection' }" v-if="navobj.collection.isOwn">
            <a href="javascript:;" v-on:click="clickTit('collection')">
                <i class="icon-arrow"></i>
                <span>藏品管理</span>
            </a>
            <ul>
                <li :class="{ on: sub == 'issued' }" v-if="navobj.collection.child.index.isOwn">
                    <a href="../collection/index.html">
                        <i class="icon-yifahang"></i>
                        <span>已发行</span>
                    </a>
                </li>
                <li :class="{ on: sub == 'notissued' }" v-if="navobj.collection.child.notissued.isOwn">
                    <a href="../collection/notissued.html">
                        <i class="icon-weifahang"></i>
                        <span>未发行</span>
                    </a>
                </li>
                <li :class="{ on: sub == 'taken' }" v-if="navobj.collection.child.taken.isOwn">
                    <a href="../collection/taken.html">
                        <i class="icon-tihuoshenhe"></i>
                        <span>提货审核</span>
                    </a>
                </li>
                <li :class="{ on: sub == 'category' }" v-if="navobj.collection.child.category.isOwn">
                    <a href="../collection/category.html">
                        <i class="icon-leibieguanli"></i>
                        <span>类别管理</span>
                    </a>
                </li>
                <li :class="{ on: sub == 'business' }" v-if="navobj.collection.child.business.isOwn">
                    <a href="../collection/business.html">
                        <i class="icon-shangpiaofangguanli"></i>
                        <span>上票方管理</span>
                    </a>
                </li>
            </ul>
        </li>
        <li :class="{ on: index == 'user' }" v-if="navobj.user.isOwn">
            <a href="javascript:;" v-on:click="clickTit('user')">
                <i class="icon-arrow"></i>
                <span>用户管理</span>
            </a>
            <ul>
                <li :class="{ on: sub == 'userlist' }" v-if="navobj.user.child.list.isOwn">
                    <a href="../user/index.html">
                        <i class="icon-yonghuliebiao"></i>
                        <span>用户列表</span>
                    </a>
                </li>
                <li :class="{ on: sub == 'main' }" v-if="navobj.user.child.main.isOwn">
                    <a href="../user/main.html">
                        <i class="icon-zhulizhanghu"></i>
                        <span>主力账户</span>
                    </a>
                </li>
                <li :class="{ on: sub == 'log' }" v-if="navobj.user.child.log.isOwn">
                    <a href="../user/log.html">
                        <i class="icon-yonghucaozuorizhi"></i>
                        <span>用户操作日志</span>
                    </a>
                </li>
                <li :class="{ on: sub == 'edit' }" v-if="navobj.user.child.editlog.isOwn">
                    <a href="../user/editlog.html">
                        <i class="icon-xiugaijilu"></i>
                        <span>修改记录</span>
                    </a>
                </li>
                <li :class="{ on: sub == 'auth' }" v-if="navobj.user.child.authlog.isOwn">
                    <a href="../user/authlog.html">
                        <i class="icon-renzhengjilu"></i>
                        <span>认证记录</span>
                    </a>
                </li>
                <li :class="{ on: sub == 'card' }" v-if="navobj.user.child.cardlog.isOwn">
                    <a href="../user/cardlog.html">
                        <i class="icon-bangqiajilu"></i>
                        <span>绑卡记录</span>
                    </a>
                </li>
            </ul>
        </li>
        <li :class="{ on: index == 'trade' }" v-if="navobj.trade.isOwn">
            <a href="javascript:;" v-on:click="clickTit('trade')">
                <i class="icon-arrow"></i>
                <span>交易管理</span>
            </a>
            <ul>
                <li :class="{ on: sub == 'transfer' }" v-if="navobj.trade.child.transfer.isOwn">
                    <a href="../trade/transfer.html">
                        <i class="icon-chicangzhuanrang"></i>
                        <span>持仓转让</span>
                    </a>
                </li>
                <li :class="{ on: sub == 'apply' }" v-if="navobj.trade.child.apply.isOwn">
                    <a href="../trade/apply.html">
                        <i class="icon-shengouchuli"></i>
                        <span>申购处理</span>
                    </a>
                </li>
                <li :class="{ on: sub == 'fee' }" v-if="navobj.trade.child.fee.isOwn">
                    <a href="../trade/fee.html">
                        <i class="icon-shouxufei"></i>
                        <span>手续费</span>
                    </a>
                </li>
                <li :class="{ on: sub == 'lock' }" v-if="navobj.trade.child.lock.isOwn">
                    <a href="../trade/lock.html">
                        <i class="icon-suocangchuli"></i>
                        <span>锁仓处理</span>
                    </a>
                </li>
                <li :class="{ on: sub == 'unlock' }" v-if="navobj.trade.child.unlock.isOwn">
                    <a href="../trade/unlock.html">
                        <i class="icon-jiesuochuli"></i>
                        <span>解锁处理</span>
                    </a>
                </li>
                <li :class="{ on: sub == 'publisher' }" v-if="navobj.trade.child.publisher.isOwn">
                    <a href="../trade/publisher.html">
                        <i class="icon-fahangshangjiesuo"></i>
                        <span>发行商解锁</span>
                    </a>
                </li>
            </ul>
        </li>
        <li :class="{ on: index == 'control' }" v-if="navobj.control.isOwn">
            <a href="javascript:;" v-on:click="clickTit('control')">
                <i class="icon-arrow"></i>
                <span>风控管理</span>
            </a>
            <ul>
                <li :class="{ on: sub == 'expend' }" v-if="navobj.control.child.withdraw.isOwn">
                    <a href="../control/withdraw.html">
                        <i class="icon-chujinheimingdan"></i>
                        <span>出金黑名单</span>
                    </a>
                </li>
                <li :class="{ on: sub == 'deal' }" v-if="navobj.control.child.deal.isOwn">
                    <a href="../control/deal.html">
                        <i class="icon-jiaoyiheimingdan"></i>
                        <span>交易黑名单</span>
                    </a>
                </li>
                <li :class="{ on: sub == 'purchase' }" v-if="navobj.control.child.purchase.isOwn">
                    <a href="../control/purchase.html">
                        <i class="icon-shengouheimingdan"></i>
                        <span>申购黑名单</span>
                    </a>
                </li>
                <li :class="{ on: sub == 'pause' }" v-if="navobj.control.child.pause.isOwn">
                    <a href="../control/pause.html">
                        <i class="icon-linshitingpan"></i>
                        <span>临时停牌</span>
                    </a>
                </li>
                <li :class="{ on: sub == 'stop' }" v-if="navobj.control.child.stop.isOwn">
                    <a href="../control/stop.html">
                        <i class="icon-tingpan"></i>
                        <span>停牌</span>
                    </a>
                </li>
            </ul>
        </li>
        <li :class="{ on: index == 'team' }" v-if="navobj.team.isOwn">
            <a href="javascript:;" v-on:click="clickTit('team')">
                <i class="icon-arrow"></i>
                <span>团队管理</span>
            </a>
            <ul>
                <li :class="{ on: sub == 'number' }" v-if="navobj.team.child.no.isOwn">
                    <a href="../team/no.html">
                        <i class="icon-haoduanguanli"></i>
                        <span>号段管理</span>
                    </a>
                </li>
                <li :class="{ on: sub == 'specific' }" v-if="navobj.team.child.specific.isOwn">
                    <a href="../team/specific.html">
                        <i class="icon-tedingyunyingzhongxin"></i>
                        <span>特定运营中心</span>
                    </a>
                </li>
                <li :class="{ on: sub == 'modify' }" v-if="navobj.team.child.modify.isOwn">
                    <a href="../team/modify.html">
                        <i class="icon-shangxiajibiangeng"></i>
                        <span>上下级变更</span>
                    </a>
                </li>
                <li :class="{ on: sub == 'level' }" v-if="navobj.team.child.level.isOwn">
                    <a href="../team/level.html">
                        <i class="icon-dailicengji"></i>
                        <span>代理层级</span>
                    </a>
                </li>
                <li :class="{ on: sub == 'assess' }" v-if="navobj.team.child.assess.isOwn">
                    <a href="../team/assess.html">
                        <i class="icon-tuanduicangpinkaohe"></i>
                        <span>团队藏品考核</span>
                    </a>
                </li>
            </ul>
        </li>
        <li :class="{ on: index == 'finance' }" v-if="navobj.finance.isOwn">
            <a href="javascript:;" v-on:click="clickTit('finance')">
                <i class="icon-arrow"></i>
                <span>财务管理</span>
            </a>
            <ul>
                <li :class="{ on: sub == 'manual' }" v-if="navobj.finance.child.manual.isOwn">
                    <a href="../finance/manual.html">
                        <i class="icon-haoduanguanli"></i>
                        <span>手动出入金</span>
                    </a>
                </li>
                <li :class="{ on: sub == 'monthly' }" v-if="navobj.finance.child.monthly.isOwn">
                    <a href="../finance/monthly.html">
                        <i class="icon-yuedubaobiao"></i>
                        <span>月度报表</span>
                    </a>
                </li>
                <li :class="{ on: sub == 'directcnt' }" v-if="navobj.finance.child.directcnt.isOwn">
                    <a href="../finance/directcnt.html">
                        <i class="icon-zhiqiantongji"></i>
                        <span>直签统计</span>
                    </a>
                </li>
                <li :class="{ on: sub == 'rebate' }" v-if="navobj.finance.child.rebate.isOwn">
                    <a href="../finance/rebate.html">
                        <i class="icon-zhiqiantuanduifanyong"></i>
                        <span>直签团队返佣</span>
                    </a>
                </li>
            </ul>
        </li>
        <li :class="{ on: index == 'inquiry' }" v-if="navobj.inquiry.isOwn">
            <a href="javascript:;" v-on:click="clickTit('inquiry')">
                <i class="icon-arrow"></i>
                <span>数据查询</span>
            </a>
            <ul>
                <li :class="{ on: sub == 'funds' }" v-if="navobj.inquiry.child.funds.isOwn">
                    <a href="../inquiry/funds.html">
                        <i class="icon-zijinchaxun"></i>
                        <span>资金查询</span>
                    </a>
                </li>
                <li :class="{ on: sub == 'funds_change' }" v-if="navobj.inquiry.child.funds_change.isOwn">
                    <a href="../inquiry/funds_change.html">
                        <i class="icon-zijinbiandongchaxun"></i>
                        <span>资金变动查询</span>
                    </a>
                </li>
                <li :class="{ on: sub == 'hold' }" v-if="navobj.inquiry.child.hold.isOwn">
                    <a href="../inquiry/hold.html">
                        <i class="icon-chicangchaxun"></i>
                        <span>持仓查询</span>
                    </a>
                </li>
                <li :class="{ on: sub == 'clinch' }" v-if="navobj.inquiry.child.clinch.isOwn">
                    <a href="../inquiry/clinch.html">
                        <i class="icon-chengjiaochaxun"></i>
                        <span>成交查询</span>
                    </a>
                </li>
                <li :class="{ on: sub == 'buy' }" v-if="navobj.inquiry.child.buy.isOwn">
                    <a href="../inquiry/buy.html">
                        <i class="icon-shengouchaxun"></i>
                        <span>申购查询</span>
                    </a>
                </li>
                <li :class="{ on: sub == 'entrust' }" v-if="navobj.inquiry.child.entrust.isOwn">
                    <a href="../inquiry/entrust.html">
                        <i class="icon-weituochaxun"></i>
                        <span>委托查询</span>
                    </a>
                </li>
                <li :class="{ on: sub == 'outin' }" v-if="navobj.inquiry.child.outin.isOwn">
                    <a href="../inquiry/outin.html">
                        <i class="icon-churujinchaxun"></i>
                        <span>出入金查询</span>
                    </a>
                </li>
                <li :class="{ on: sub == 'gains' }" v-if="navobj.inquiry.child.gains.isOwn">
                    <a href="../inquiry/gains.html">
                        <i class="icon-yingkuichaxun"></i>
                        <span>盈亏查询</span>
                    </a>
                </li>
            </ul>
        </li>
        <li :class="{ on: index == 'setting' }" v-if="navobj.setting.isOwn">
            <a href="javascript:;" v-on:click="clickTit('setting')">
                <i class="icon-arrow"></i>
                <span>系统设置</span>
            </a>
            <ul>
                <li :class="{ on: sub == 'admin' }" v-if="navobj.setting.child.administrator.isOwn">
                    <a href="../setting/administrator.html">
                        <i class="icon-yonghucaozuorizhi"></i>
                        <span>管理员</span>
                    </a>
                </li>
                <li :class="{ on: sub == 'manage' }" v-if="navobj.setting.child.manage.isOwn">
                    <a href="../setting/manage.html">
                        <i class="icon-yonghu"></i>
                        <span>角色管理</span>
                    </a>
                </li>
            </ul>
        </li>
    </ul>
</div>
